<script setup lang="jsx">
  import {watch,inject,ref,reactive,computed} from 'vue'
  import suppliersBill from '@/api/finance/suppliersBill'

  const crudRef = inject('crudRef')
  const batch = ref({visible:false,})
  const record = inject('record')

  watch(record,(value)=>{
    if(value.id != undefined){
      
    }
  }) 


const columns = ref([
  {title: '单位', dataIndex: 'unit',formType: "select",
  dict: {
      data: [
        { label: "KG", value: 1 },
        { label: "立方", value: 2 },
        { label: "票", value: 3},
        ],
      translation: true,
    },},
]);
</script>

<template>
  <a-modal title="核销" :visible='visible' @ok="submit()" width="60%"
           simple
           unmount-on-close>
    <ma-form  v-model="form" :options="options"></ma-form>
      
  </a-modal>
</template>